package com.ruoyi.web.controller.torquemeter;

import com.ruoyi.common.core.controller.BaseController;
import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 工作模式
 * 
 * @author ruoyi
 */
@Controller
@RequestMapping("/torquemeter/jobinfo")
public class JobInfoController extends BaseController
{
    private String prefix = "torquemeter";

    @GetMapping()
    public String torqueMeter()
    {
        return prefix + "/jobinfo";
    }

    /**
     * 工作模式
     */
    @GetMapping("/main")
    public String config(ModelMap mmap)
    {
        return prefix + "/jobinfo";
    }

}